package com.ytc.service.impl;

import com.ytc.mapper.TypeMapper;
import com.ytc.model.Type;
import com.ytc.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private TypeMapper typeMapper;

    @Override
    public List<Type> queryType() {
        return typeMapper.queryType();
    }
}
